[INFO] cloning repository https://github.com/emergent/rust-ffi-callbacks-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emergent/rust-ffi-callbacks-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femergent%2Frust-ffi-callbacks-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femergent%2Frust-ffi-callbacks-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 478e358665e3e0617ceae54f7a1d3a64b23b2ed1
[INFO] fixing emergent/rust-ffi-callbacks-sample against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femergent%2Frust-ffi-callbacks-sample" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/emergent/rust-ffi-callbacks-sample
[INFO] finished tweaking git repo https://github.com/emergent/rust-ffi-callbacks-sample
[INFO] tweaked toml for git repo https://github.com/emergent/rust-ffi-callbacks-sample written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emergent/rust-ffi-callbacks-sample on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emergent/rust-ffi-callbacks-sample already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc
[INFO] running `Command { std: "docker" "start" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling ccallbacks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: ccallbacks@0.1.0: Using built-in specs.
[INFO] [stderr] warning: ccallbacks@0.1.0: COLLECT_GCC=cc
[INFO] [stderr] warning: ccallbacks@0.1.0: OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
[INFO] [stderr] warning: ccallbacks@0.1.0: OFFLOAD_TARGET_DEFAULT=1
[INFO] [stderr] warning: ccallbacks@0.1.0: Target: x86_64-linux-gnu
[INFO] [stderr] warning: ccallbacks@0.1.0: Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
[INFO] [stderr] warning: ccallbacks@0.1.0: Thread model: posix
[INFO] [stderr] warning: ccallbacks@0.1.0: Supported LTO compression algorithms: zlib zstd
[INFO] [stderr] warning: ccallbacks@0.1.0: gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
[INFO] [stderr] warning: ccallbacks@0.1.0: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/extlib.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/'
[INFO] [stderr] warning: ccallbacks@0.1.0:  /usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu src/extlib.c -quiet -dumpdir /opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/ -dumpbase extlib.c -dumpbase-ext .c -m64 -mtune=generic -march=x86-64 -g -O0 -Wall -Wextra -version -ffunction-sections -fdata-sections -fPIC -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-protector-strong -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccHl3wGx.s
[INFO] [stderr] warning: ccallbacks@0.1.0: GNU C17 (Ubuntu 13.3.0-6ubuntu2~24.04.1) version 13.3.0 (x86_64-linux-gnu)
[INFO] [stderr] warning: ccallbacks@0.1.0: 	compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
[INFO] [stderr] warning: ccallbacks@0.1.0: 
[INFO] [stderr] warning: ccallbacks@0.1.0: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
[INFO] [stderr] warning: ccallbacks@0.1.0: ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
[INFO] [stderr] warning: ccallbacks@0.1.0: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"
[INFO] [stderr] warning: ccallbacks@0.1.0: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"
[INFO] [stderr] warning: ccallbacks@0.1.0: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"
[INFO] [stderr] warning: ccallbacks@0.1.0: #include "..." search starts here:
[INFO] [stderr] warning: ccallbacks@0.1.0: #include <...> search starts here:
[INFO] [stderr] warning: ccallbacks@0.1.0:  /usr/lib/gcc/x86_64-linux-gnu/13/include
[INFO] [stderr] warning: ccallbacks@0.1.0:  /usr/local/include
[INFO] [stderr] warning: ccallbacks@0.1.0:  /usr/include/x86_64-linux-gnu
[INFO] [stderr] warning: ccallbacks@0.1.0:  /usr/include
[INFO] [stderr] warning: ccallbacks@0.1.0: End of search list.
[INFO] [stderr] warning: ccallbacks@0.1.0: Compiler executable checksum: b220a7f1a1f69970d969d254ad9ec166
[INFO] [stderr] warning: ccallbacks@0.1.0: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/extlib.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/'
[INFO] [stderr] warning: ccallbacks@0.1.0:  as -v --gdwarf-5 --64 -o /opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/extlib.o /tmp/ccHl3wGx.s
[INFO] [stderr] warning: ccallbacks@0.1.0: GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
[INFO] [stderr] warning: ccallbacks@0.1.0: COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
[INFO] [stderr] warning: ccallbacks@0.1.0: LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
[INFO] [stderr] warning: ccallbacks@0.1.0: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/extlib.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' '/opt/rustwide/target/debug/build/ccallbacks-7dd88697cd098827/out/src/extlib.'
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/readline.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{:?}", rl_prompt);
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/readline.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{:?}", rl_prompt);
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.00s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc", kill_on_drop: false }`
[INFO] [stdout] 6d31bc6d296262cfea22bc54acdc7a554747d1462da7709dff1f392bc3097fbc
